package cn.qq.xiangmu.test;

import cn.qq.xiangmu.entity.Dog;
import cn.qq.xiangmu.entity.Penguin;

public class Demo {
    public static void main(String[] args) {
        Dog dog=new Dog("汪汪",60,40,"牧羊犬");
        dog.print();
        System.out.println(dog.toString());
        Penguin penguin =new Penguin("美美",60,40,"女");
        penguin.print();
    }
}
